/* 将localstorage 里的token 作为 全局使用的store */

import { createSlice } from '@reduxjs/toolkit'

const onlineSlice = createSlice({
  name: 'online',
  initialState: {
    online: false, // 默认是离线
  },
  reducers: {
    setValue: (state, value) => {},
  },
})
export { onlineSlice }
